﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Animalia//动物类
    {
        private string leg;

       
        public string    Leg { get; set; }
        
        public void eat()//吃 
        {
            Console.WriteLine("能吃能喝");
        }
        public void sleep()//睡觉 
        {
            Console.WriteLine("能睡");
        }
        public virtual void cry() //叫
        {
            Console.WriteLine("能叫");
        }


    }
}
